<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/jstl.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加管理员</title>
<%@include file="../common/css-js.jsp" %>
</head>
<body>
	<div class="am-container-fluid">
		<div class="admin-content">
			<!-- iframe start -->
			<div class="admin-content-body">
				 <div class="am-cf am-padding am-padding-bottom-1">
				      <div class="am-fl am-cf">
				        <strong class="am-text-primary am-text-lg">首页</strong> /
				        <small>添加管理员</small>
				      </div>
				  </div>
				<div class="am-panel am-panel-default">
				  <div class="am-panel-hd"></div>
				  <div class="am-panel-bd">
				  <p style="color: red;">${msg }</p>
				<form class="am-form" action="${path }/admin/managerinfo/add">
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">归属站点：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<select name="manager.site_id">
								<c:forEach items="${page.list }" var="site">
									<option value="${site.siteId }">${site.siteName }</option>
								</c:forEach>
							</select>
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">登录账号：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<input type="text" name="manager.login_name" class="am-input-sm">
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">密码：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<input type="text" name="manager.pwd" class="am-input-sm">
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">姓名：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<input type="text" name="manager.cname" class="am-input-sm">
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">邮箱：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<input type="text" name="manager.email" class="am-input-sm">
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">电话：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<input type="text" name="manager.tel" class="am-input-sm">
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">手机号：</div>
						<div class="am-u-sm-8 am-u-md-4">
							<input type="text" name="manager.mobile" class="am-input-sm">
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">备注：</div>
						<div class="am-u-sm-8 am-u-md-8">
							<textarea rows="3" cols="5" name="manager.note" ></textarea>
						</div>
						<div class="am-hide-sm-only am-u-md-2">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-md-2 am-text-right">状态：</div>
						<div class="am-u-sm-8 am-u-md-4">
							
				              <input name="manager.state" value="0"  type="radio"> 正常
				              <input name="manager.state" value="1"  type="radio"> 关闭
						</div>
						<div class="am-hide-sm-only am-u-md-6">*</div>
					</div>
					<div class="am-g am-margin-top">
						<div class="am-u-sm-4 am-u-sm-offset-2">
						<button class="am-btn am-btn-primary am-btn-block" type="submit">保存</button></div>
					</div>
				</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>